import 'package:json_annotation/json_annotation.dart';

part 'queryRequest.g.dart';

@JsonSerializable()
class QueryRequest {
  QueryRequest();

  late num pageSize;
  late num pageNum;
  late String sortField;
  late String order;
  late String filterField;
  late String startTime;
  late String endTime;
  
  factory QueryRequest.fromJson(Map<String,dynamic> json) => _$QueryRequestFromJson(json);
  Map<String, dynamic> toJson() => _$QueryRequestToJson(this);
}
